<!DOCTYPE html>
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />

    <title></title>

	[#include "/admin/include/admin_static.htm"]
	[#import "/admin/include/admin_pagination.ftl" as p/]
	<script>
		$(function() {
			$("#export").click(function() {
				$("#searchForm").attr("action","${path}/admin/account/exportusertuiguang.aspx").submit();
			})
		});
	</script>
</head>
<body>
	<div class="main_admin_content">
        <fieldset class="layui-elem-field layui-field-title" style="margin-top: 20px;">
            <legend>推广提成统计</legend>
        </fieldset>
		<form id="searchForm" method="post" action="${path}/admin/account_log/usertuiguangt.aspx"> </form>
		<input id="export" type="button" class="layui-btn" style="width: 100px; heigth: 30px; line-height: 30px" value="导出">
        <table class="layui-table">
            <colgroup>
                <col width="50">
                <col width="80">
                <col width="80">
                <col width="80">
                <col width="80">


            </colgroup>
			<thead>
			<tr>
				<th>用户ID</th>
				<th>用户名称</th>
				<th>实名</th>
				<th>金额</th>
				<th>推广人数</th>

			</tr>
            </thead>
			[#list tg as tgs]


				<tr>
					<td>${tgs.recommend_id}</td>
					<td>
						${tgs.inviteusername }
					</td>
					<td>
						${tgs.inviterealname }
					</td>
					<td>￥${tgs.sumperaccount!'0'}</td>
					<td>${tgs.tccount}</td>

				</tr>
			[/#list]
		</table>

	</div>
    </body>
</html>